module 2_4_data_selector(
	input a,
	input b,
	input c,
	input d,
	input s1,
	input s0,
	output reg y);
    reg [1:0] SEL;
    always @(a,b,c,d,s1,s0)
        begin
            SEL = {s1,s0};
            if(SEL == 2'b00) 
					y = a;
            else if(SEL == 2'b01) 
					y = b;
            else if(SEL == 2'b10) 
					y = c;
            else 
				y = d;
        end
endmodule